package com.yss.reportworld.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yss.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 版本记录信息对象 report_world_record
 *
 * @author yss
 * @date 2023-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("report_world_record")
public class Record extends BaseEntity {

    /**
     * 技术主键
     */
    @ExcelIgnore
    private String id;

    /**
     * 记录的文件名称
     */
    @ExcelProperty(value = "记录的文件名称")
    @TableField("FILE_NAME")
    private String fileName;

    /**
     * 客户编码
     */
    @TableField("CUSTOMER_ID")
    private String customerId;

    /**
     * 版本号
     */
    @ExcelProperty(value = "版本号")
    @TableField("VERSION")
    private String version;

    /**
     * 说明
     */
    @ExcelProperty(value = "说明")
    @TableField("DESCRIPTION")
    private String description;

    @ExcelProperty(value = "客户名称")
    @TableField(exist = false)
    private String customerName;

    @ExcelIgnore
    @TableField(exist = false)
    private String customerInfo;

    @ExcelIgnore
    @TableField(exist = false)
    private List<String> strCustomer;

    // 导出的时候选择 数据的主键
    @ExcelIgnore
    @TableField(exist = false)
    private String ids;
}
